package main

import (
	"github.com/gin-gonic/gin"
	"zy5/api"
	"zy5/config"
	"zy5/inits"
)

func main() {
	config.Init()
	inits.MysqlInit()

	router := gin.Default()
	api.LoadRoutes(router)

	router.Run() // 监听并在 0.0.0.0:8080 上启动服务
}
